If I prompt user to give filename as input, then check for and remove newline character do I still have to add +1 to strlen(filename) when allocating m
+1
strlen(filename)