def create_annotation_file_local(
    connection, file_path, namespace=None, description=None
):
    """Creates a file annotation and uploads it to OMERO"""

    file_ann = connection.createFileAnnfromLocalFile(
        localPath=file_path, mimetype=None, namespace=namespace, desc=description
    )
    return file_ann