function make filesystem improved, deprecated code was delete