Check if file is readable

[fixes #2]
[#1]