check file is not null.
`AppExceptionUtil.assertNotNull`