Created parse file function. guess_initialize now uses parse_file