allows specifying folder to check