little tweaks to filesystem module