Added file deletion code