title: How to recover PDF's from .writetoFile in Swift
body: <p>I'm saving an image using .writetofile but I don't know how to recover it.
  This how I save the image:</p>
  
  <pre><code>self.pdfData.writeToURL(NSFileManager.defaultManager().URLsForDirectory(.DocumentDirectory, inDomains: .UserDomainMask).first!.URLByAppendingPathComponent("testgogo.pdf"), atomically: true) // what it is saved as
  
  
          self.pdfData.writeToFile("tessst.pdf", atomically: false)
          print(NSFileManager.defaultManager().URLsForDirectory(.DocumentDirectory, inDomains: .UserDomainMask).first!.path!)
  
  
          var pdfData: NSData {
              let result = NSMutableData()
              UIGraphicsBeginPDFContextToData(result, frame, nil)
              guard let context = UIGraphicsGetCurrentContext()
    else { return result }
  
       UIGraphicsBeginPDFPage()
       layer.renderInContext(context)
       UIGraphicsEndPDFContext()
       return result
  }
  </code></pre>
  
  <p>How can I fetch the image back later on ?</p>