filter log/ filenames into sw.command