setupLogging() now allows specifying a filename