added deleteContents(..) to delete all dirs and files inside a directory