remove fs dependency