gen cleanup, remove file when update with new one