test for file access functions