 public typealias FileHandle = NSFileHandle
 
 extension FileHandle: ReadableStreamType {
-	
+
 	public func readSome () -> String? {
 		let data: NSData = self.availableData
 		if data.length == 0 {

			return (NSString(data: data, encoding: streamencoding) as String)
		}
	}
	
	public func read () -> String {
		let data: NSData = self.readDataToEndOfFile()
		return NSString(data: data, encoding: streamencoding) as String
	}
	
	public func lines () -> SequenceOf<String> {
		return split(delimiter: "\n")(stream: self)
	}

	public func writeln () {
		self.write("\n")
	}

	public func closeStream () {
		self.closeFile()
	}
