ignore executable and testfile
set parameters by flag
added regexp matching