Removed unnecessary code and OutFile class.