...the flag file is present it should be deleted and the textfile should be deleted as well as saved in an archive location as a zip file . If the flag file is not present then the textfile should not be deleted and raise the exception as flag...
http://weblogs.sdn.sap.com/