remove old api file