def handle_upload(repo, **kwargs):
    """
    :param kwargs: valud kwargs
         filename: file name
         filedata: file data
    :return: new Item
    """
    log.info('upload: %s' %(repo))
    name = kwargs.get('filename', 'Untitled')
    data = kwargs.get('filedata')
    repo.addItem(Item.from_string(repo=repo, name=name, string=data))