              // Move temporary file to remove .tmp extension                  let tmpDirectory = NSTemporaryDirectory()                  let tmpFile = "file://".appending(tmpDirectory).appending(imgUrl.lastPathComponent)              