Trying to create a directory and log to a file there