rewrite of the filesystem bindings
rewrite