Checking route for makeDir when creating file
Deleting both file and dir