     ///
     public func loadSoundfont(file: String) {
         loadInstrument(file, type: "sf2")
+    }
+    
+    /// Load a file path
+    ///
+    /// - parameter file: Name of the file with the extension
+    ///
+    public func loadPath(filePath: String) {
+        do {
+            try samplerUnit.loadInstrumentAtURL(NSURL(fileURLWithPath: filePath))
+        } catch {
+            print("error")
+        }
     }
     
     internal func loadInstrument(file: String, type: String) {

            }
            let tempSampleZoneXML:String = "<dict>\n" +
                "<key>ID</key>\n" +
                "<integer>\(sampleIteration)</integer>\n" +
                "<key>enabled</key>\n" +
                "<true/>\n" +
                "<key>loop enabled</key>\n" +

        templateStr = templateStr.stringByReplacingOccurrencesOfString("***ZONEMAPPINGS***", withString: sampleZoneXML)
        templateStr = templateStr.stringByReplacingOccurrencesOfString("***SAMPLEFILES***", withString: sampleIDXML)
        
        print(templateStr)
        //write to file
        do{
            print("Writing to \(path)")
