Implemented parse_file.