Add ability to log to file with Core.Logger

Currently the Logger is only logging to stdout, it will be nice to be able to write to a file