Added code to check for a case of a file entry that does not exist.
Added code to check for a case of a file entry that does not exist.

Perhaps I should be error'ing out early rather than letting it panic
later, but I don't know, hopefully this is still relatively safe.

pnkfelix/tango