Pull parse_schema_file into the error reporting framework