changed fs.get to fs.newInstance