free cshark.filename after remove()