title: How I can get Image from document directory if i don't know it's name
body: <p>I saved image with this func:</p>
  
  <pre><code>let image = categoryImage.image
          let data = image!.jpegData(compressionQuality: 0.5)!
          let name = "\(Int(Date().timeIntervalSince1970))"
          do {
              let documentDirectory = try FileManager.default.url(for: .documentDirectory, in: .userDomainMask, appropriateFor:nil, create:false)
              let fileURL = documentDirectory.appendingPathComponent(name)
  
              try data.write(to: fileURL)
  
              print(fileURL)
  
          } catch {
              print(error.localizedDescription)
          }
  </code></pre>
  
  <p>I get image from this:</p>
  
  <pre><code>override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
  
          let cell = tableView.dequeueReusableCell(withIdentifier: "cell", for: indexPath) as! CellPrototype
  
          // Configure the cell...
          let currentItem = item[indexPath.row]
          cell.pointNameLabel.text = currentItem
  
          let nsDocumentDirectory = FileManager.SearchPathDirectory.documentDirectory
          let nsUserDomainMask    = FileManager.SearchPathDomainMask.userDomainMask
          let paths               = NSSearchPathForDirectoriesInDomains(nsDocumentDirectory, nsUserDomainMask, true)
          if let dirPath          = paths.first{
              let imageURL = URL(fileURLWithPath: dirPath).appendingPathComponent("test")
              let image    = UIImage(contentsOfFile: imageURL.path)
              cell.categoryImage.image = image
          }
          return cell
      }
  </code></pre>
  
  <p>When i <strong>get</strong> image back i can't take it's name which was created by <code>(Int(Date().timeIntervalSince1970))</code></p>
  
  <p>How I can take specifically the file name that was created</p>
  
  <p>When i take image name for example <strong>"test"</strong> image pass in cell</p>
  
  <p>But in my app user select image and i don't know which image user selected</p>