Call fs module to handle file