Updates the output filename