new version of lswalky.py -> with -name 'pattern'