add path filtering to ls()
Merge pull request #48 from yetanotherhacker/filterls

add path filtering to ls()