         var filename = suggestedFilename
         let pathExtension = filename.asURL?.pathExtension
         if pathExtension == nil {
-            filename.appendContentsOf(".\(FileType.PDF.rawValue)")
+            filename.appendContentsOf(".pdf")
         }
         filepath = documentDirectory.URLByAppendingPathComponent(filename)
     }

        }
    }

    static func canOpenType(type: String) -> Bool {
        return (type == FileType.PDF.rawValue || type == MimeType.PDF.rawValue) && UIApplication.sharedApplication().canOpenURL(NSURL(string: "itms-books:")!)
    }

    func getOpenInView() -> OpenInView {


    private var url: NSURL
    var pathExtension: String?

    required init?(response: NSURLResponse) {
        guard let fileURL = response.URL else { return nil }
