>Will the index file be deleted when the user closes the app to keep the folder clean?
Sorry: Usually, the framework I use takes care of those details! However, I believe the answer is no; you better delete it explicitly. This requires you to maintain the name of the temp file for the index in a variable.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)