remove cached file after finished