Support sub-directory without file name
Merge pull request #4 from htanjo/subdirectory

Support sub-directory without file name