created logFile class