             let contentsPath = "./\(path)/Contents"
             try FileManager.default().createDirectory(atPath: contentsPath, withIntermediateDirectories: true, attributes: nil)
             try writeManifest(at: "./\(path)/Contents/Manifest.plist")
+            try parepareDefaultFiles()
         } catch {
             throw error
         }

    var pages: [Page]
    let version: String
    
    init(name aName: String, version aVersion: String = "1.0", pages arrayPages: [String] = []) {
        print("Chapter name = \(aName)")
        name = aName
        version = aVersion
        pages = arrayPages.map({ (name) -> Page in
            let title = name.replacingOccurrences(of: ".playgroundpage", with: "")
            print("\(name) => \(title)")
            return Page(name: title, chapterName: name)
        })
    }

    func manifest() -> [String:AnyObject] {

        contentVersion = aContentVersion
        imageReference = anImageReference
        deploymentTarget = aDeploymentTarget
        chapters = arrayChapters.map({ (name) -> Chapter in
            let title = name.replacingOccurrences(of: ".playgroundchapter", with: "")
            print("\(name) => \(title)")
            return Chapter(name: title)
        })
    }
    
    func getChapter(name: String) throws -> Chapter {
