def METHOD_NAME(parser):
    """Adds --in-file, --out-file, and --out-dir to argument parser.
    These parameters are used for the input ROI file, the output HTML file and
    the directory to write supplementary files to.
    """
    group = parser.add_argument_group('Input / Output',
                                      'Input and output related parameters.')
    group.add_argument('--in-file', metavar='ROI', dest='in_file',
                       required=True, help='ROI file to read')
    group.add_argument('--out-file', dest='out_file', required=True,
                       help='path to output HTML file')
    group.add_argument('--out-dir', dest='out_dir',
                       help='directory to write supplementary files to; '
                       'defaults to path of --out-file.')