Negative test case for file access