def METHOD_NAME(type_files):
    """ parse files """
    type2files = {}
    for item in type_files.split(","):
        t, file_or_dir = item.split(":")
        type2files[t] = file_or_dir
    return type2files