def get_filenames_remove_full_path(files):
    """
    Removes the path from each file in a list of files

    :param files: list of files with paths
    :return: list of files with path removed
    """
    filenames = []
    for i in range(len(files)):
        filename = files[i]
        filename = filename.split("/")[-1]
        filenames.append(filename)
    return filenames