add special directory option for arbitrary extensions
Merge pull request #5 from jebaum/master

oh shit this is nice. so god damn fucking nice.