fixed _dir2json!
organizing, documenting, more tests for more File methods