fixing bugs, added FakeFile