def METHOD_NAME(dir_name: str) -> List[str]:
    fname = []
    for root, d_names, f_names in os.walk(dir_name):
        for f in f_names:
            if "__pycache__" not in root:
                fname.append(os.path.join(root, f))
    return fname