moving filesystem library over from ygpanel