Fix #53: Check readability of input file
Merge pull request #62 from soc/issue-053

Fix #53: Check readability of input file