Gracfully handle not authorized file access

Prevent app from crushing when a not authorized file is accessed, causing an EPPRM error.