* A lot of magic with filestate, more work needed