'Handle file operations on an instance by using the FileUpload object
passed to set filename, file_version on the LangPack instance, and
moving the temporary file to its final destination.'

def handle_file_operations(self, upload):

    upload.path = smart_path(nfd_str(upload.path))
    if (not self.uuid):
        self.reset_uuid()
    if public_storage.exists(self.file_path):
        raise RuntimeError('Trying    to    upload    a    file    to    a    destination    that    already    exists')
    self.file_version = (self.file_version + 1)
    self.sign_and_move_file(upload)
