def create_filename(last_element):
    """
    For a given file, returns its name without the extension.
    :param last_element: str, file name
    :return: str, file name without extension
    """
    return last_element[:-4]