Added guard for MONGOOSE_NO_FILESYSTEM