remove temp files after reading