exports functions implemented in filesystem.js