ADDED filesystem API *not tested*!