def read_files(project, files, parser_files):
    project_files = {}
    project_files['MacroParser'] = read_files_for_parser(project, files, project.macro_paths, '.sql', ParseFileType.Macro)
    project_files['ModelParser'] = read_files_for_parser(project, files, project.source_paths, '.sql', ParseFileType.Model)
    project_files['SnapshotParser'] = read_files_for_parser(project, files, project.snapshot_paths, '.sql', ParseFileType.Snapshot)
    project_files['AnalysisParser'] = read_files_for_parser(project, files, project.analysis_paths, '.sql', ParseFileType.Analysis)
    project_files['DataTestParser'] = read_files_for_parser(project, files, project.test_paths, '.sql', ParseFileType.Test)
    project_files['SeedParser'] = read_files_for_parser(project, files, project.data_paths, '.csv', ParseFileType.Seed)
    project_files['DocumentationParser'] = read_files_for_parser(project, files, project.docs_paths, '.md', ParseFileType.Documentation)
    project_files['SchemaParser'] = read_files_for_parser(project, files, project.all_source_paths, '.yml', ParseFileType.Schema)
    yaml_files = read_files_for_parser(project, files, project.all_source_paths, '.yaml', ParseFileType.Schema)
    project_files['SchemaParser'].extend(yaml_files)
    parser_files[project.project_name] = project_files
def read_files(project, files, parser_files):
    project_files = {}
    project_files['MacroParser'] = read_files_for_parser(project, files, project.macro_paths, '.sql', ParseFileType.Macro)
    project_files['ModelParser'] = read_files_for_parser(project, files, project.source_paths, '.sql', ParseFileType.Model)
    project_files['SnapshotParser'] = read_files_for_parser(project, files, project.snapshot_paths, '.sql', ParseFileType.Snapshot)
    project_files['AnalysisParser'] = read_files_for_parser(project, files, project.analysis_paths, '.sql', ParseFileType.Analysis)
    project_files['DataTestParser'] = read_files_for_parser(project, files, project.test_paths, '.sql', ParseFileType.Test)
    project_files['SeedParser'] = read_files_for_parser(project, files, project.data_paths, '.csv', ParseFileType.Seed)
    project_files['DocumentationParser'] = read_files_for_parser(project, files, project.docs_paths, '.md', ParseFileType.Documentation)
    project_files['SchemaParser'] = read_files_for_parser(project, files, project.all_source_paths, '.yml', ParseFileType.Schema)
    yaml_files = read_files_for_parser(project, files, project.all_source_paths, '.yaml', ParseFileType.Schema)
    project_files['SchemaParser'].extend(yaml_files)
    parser_files[project.project_name] = project_files