removed require('fs')