Added functions to filesystem module to support upload categories