fixed FileMock