changed scanner to process sub-directories recursively under main files path