modified file_parser.c