Removing useless fs.close