def file_type(file_name):
    """
    Returns the file type from a complete file name
    If the file doesn't have a file type, return "file"
    """
    if "." not in file_name:
        return "file"

    return file_name.split(".")[-1]