def METHOD_NAME(folder: str, suffix: str=None):
    res = [
        os.path.join(folder, i) for i in os.listdir(folder)
        if os.path.isfile(os.path.join(folder, i)) and (suffix is None or
                                                        i.endswith(suffix))
    ]
    return res