switched from pyfakefs to mock; wrote filestate (TDD workflow broken :( )