NY-10529: [AN]: Add null guards over files that might not exist
Created by: rvc-brickabode
From our internal process of review:
Nynja folder was removed while in App and either with the App closed but the bug does not reproduces. We also have denied the permission to store files in the device but that does not reproduces the problem. Therefore we think that this is a very specific condition inside Samsung testing procedure. So we prefer to do a null check and avoid the null pointer exception happening.