Optimized filesystem constructors.
Added stream operations to filesystem class.