log files now in directory, file name changed to current datetime, logger now makes directory if it doesn't exist