Add support for processing all the log files specified in the specified --dir