Fixed a bug in file-parser.