         
         initialize()
     }
-
-    /*
-     /// To stay compatible with ealier version
-     /// Should be deprecated because you cannot handle errors at run time...
-     /// :-/
-     public convenience init(_ file: String, completionHandler: AKCallback? = nil) {
-
-
-     print ("AKAudioPlayer Warning: init using a file path string will be deprecated and won't throw error if it fails to init properly. Please init using an AKAudioFile (safer and lets you catch errors if something goes wrong).")
-     // build an empty AKAudioFile as a backup if we fail to create a valid one from "file"
-     var audioFile = try? AKAudioFile()
-
-     let nsurl = NSURL(string:file)
-     if nsurl != nil {
-     do {
-     audioFile = try AKAudioFile(forReading: nsurl!)
-     } catch let error as NSError {
-     print ("Couldn't create an AKAudioFile with file: \(file) !...")
-     print("Error: \(error)")
-     }
-
-     } else {
-     print("Cannot create a valid nsurl with file:\(file)")
-     }
-     //
-     try! self.init(file: audioFile!, completionHandler: completionHandler)
-     }
-     */
 
     // MARK: - Methods
 


    // MARK: - Initialization

    /// the safest way to proceed is to use an AKAudioFile
    public init(file: AKAudioFile, completionHandler: AKCallback? = nil) throws {

        let readFile:AKAudioFile


        }
        self.internalAudioFile = readFile
        self.completionHandler = completionHandler
        self.looping = looping

        super.init()
        AudioKit.engine.attachNode(internalPlayer)
