Added a method for parsing log file names using specified config