Fix #53: Check readability of input file