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.