removed unneeded require('fs')