assert file access