sorry for that the program should check free space before start the process and if some error occurs, the file should not be deleted I'll check everything for tomorrow