add convienience methods for log4j loggers

On the one hand, I think `File` has the benefit of type safety.

On the other hand, it's probably true that in practice the user will likely call `new File(path)` right before the method call, so maybe it's an unnecessary exercise in pedantry. I'll change it.