temp file should be removed even when approved