issue in deleting when we have more than 1 file
<p>i have  10  files. i want to delete them but the  condition here is
  as  i delete file  1 to  file 5 .let say in  file6  i  got an  exception then in that case  i should  restore all the  files  deleted</p>

<p>i should delete the  files only if there is no exception occured in  any of the file when we try to  delete</p>

<p>something  like rollback transcation what we  do in DB.  is there any properties in file  we  can achive this  concept</p>

<p>anyhelp  would be great thank  you </p>
