treat empty file as non-exists
Merge pull request #166 from layerssss/master

treat empty file as non-exists