def get_recent_files():
    """Return recent files list as path objects."""
    filter_recent_files()

    try:
        data = load_pyl(RECENT_FILES)

    except FileNotFoundError:

        data = []
        save_pyl(data, RECENT_FILES)

    else:
        data = list(map(Path, data))

    return data
Return recent files list as path objects.
nodezator/recentfile.py