changed the OutputToFile method to outputToFile. Trying to stay consistent