Write the parameter to the correct file.