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

    ///
    public func loadSoundfont(file: String) {
        loadInstrument(file, type: "sf2")
    }
    
    internal func loadInstrument(file: String, type: String) {

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