'Upload a file given its local path.  Returns event_uuid.'

def file_from_path(self, full_path, parent_uuid=None, **params):

    try:
        full_path = os.path.realpath(os.path.normpath(full_path))
        (file_path, file_name) = os.path.split(full_path)
        shutil.copyfile(full_path, ((self.basefilename() + '.') + file_name))
    except:
        self.notify_of_error(('Could    not    access    file    ' + full_path))
    else:
        return self('remote    file', parent_uuid, file_origin_name=file_name, file_origin_path=file_path, file_origin_created=datetime.utcfromtimestamp(os.path.getctime(full_path)).isoformat('    '), **params)
    return None
