When a line of a file from which arguments are read contains leading or trailing spaces, those spaces become part of the argument. The parser does not recognize the arguments with leading or trailing spaces. The lines should be cleaned when they are read. Double quotes could be used where leading or trailing spaces are needed.