 
 extension BartlebyDocument{
 
-#if os(OSX)
+    #if os(OSX)
 
     open override func read(from url: URL, ofType typeName: String) throws {
         let fileWrapper = try FileWrapper(url: url, options: FileWrapper.ReadingOptions.immediate)

    /// Removes a Block from the package
    ///
    /// - Parameters:
    ///   - identifier: the identifier of the file (use UDID)
    ///   - isABlock: defines if the file must be considerate as a block (bsfs)
    public func removeBlock(with identifier:String)throws->(){
        if let directoryFileWrapper:FileWrapper = self._blocksWrapper {
            if let w=directoryFileWrapper.fileWrappers?[identifier]{
                 directoryFileWrapper.removeFileWrapper(w)
            }else{
                throw DocumentError.fileWrapperNotFound(message:"File Wrapper with identifier \(identifier)")
            }
        }else{
            throw DocumentError.fileWrapperNotFound(message: "Directory Wrapper not found )")

        try fileWrapper.write(to: url, options: FileWrapper.WritingOptions.atomic, originalContentsURL: nil)
    }

    #else

    // To Read content
    open override func load(fromContents contents: Any, ofType typeName: String?) throws {
    if let fileWrapper = contents as? FileWrapper{
    try self._read(from:fileWrapper)
    }else{
    throw DocumentError.fileWrapperNotFound(message:"on load")
    }
    }

    // To Write content
    override open func contents(forType typeName: String) throws -> Any {
    return try self._updatedFileWrappers()
    }

    #endif

    private func _read(from fileWrapper:FileWrapper) throws {
        if let fileWrappers=fileWrapper.fileWrappers {
