Use last insert filename when redirecting to a previously inserted file.