def METHOD_NAME(args):
    dicom_dataset = pydicom.read_file(args.input_file, force=True)
    new_dicom_dataset = adjust_machine_name(dicom_dataset, args.new_machine_name)
    pydicom.write_file(args.output_file, new_dicom_dataset)