validating photo file existence