Change the signatures of the destroyFile and destroyDirectory methods to