def return_last_element(paths):
    """
    From a list of paths, return the element of each path (file).
    :param paths: a list of strings of directories
    :return: a list of strings of the last element of each path (files)
    """
    last_elements = [path.split('\\')[-1] for path in paths]

    return last_elements