putting everything together
require fs