corrected the FileAccess class and complete some tests