Adding another function
Early exits in case of file/directory deletion