Changed from regex to _parse_file