Verify Read Permissions in viewfile

Make sure we can actually read the file we are trying to read, if we can't print an error message instead of silently failing.
Merge pull request #6 from Gillingham/patch-1

Verify Read Permissions in viewfile