Allow input file to end with newline chars