filter files with predefined variables : $n for new, $w for waiting, $r for running, $a for aborted and $d for $done