Added constructors to file stream.