Simple file logger with built-in file-size-based archiving