Fixed messed up indents in logToFile()