update _isFile & _isDirectory
Merge pull request #11 from 1000ch/master

update _isFile & _isDirectory