Moved WriteToFile to superclass