Added deleteDirectory() method to delete directory and all contents