- wrapping fs.unlinkSync in a check to make sure the path exists before trying to removing it