fix #1 :  error with less files in subdirectories when using the commandline engine