Add validation for empty file
Merge pull request #21 from vkuzmov/master

Add validation for empty file