def METHOD_NAME():
    parser = optparse.OptionParser(usage=__doc__)
    parser.add_option(
        '-c',
        '--copy',
        action='store_true',
        default=False,
        help='Copy the file to the appropriate location. ',
    )
    parser.add_option(
        '-t',
        '--test',
        action='store_true',
        default=False,
        help='Dev use only, run the unit tests.',
    )
    opts, args = parser.parse_args()
    if opts.test:
        sys.argv[:] = [sys.argv[0]]
        unittest.METHOD_NAME()
        return 0
    if len(args) != 1:
        sys.stderr.write(
            "Must provide the filename of the JSON model " "as an argument.\n"
        )
        return 1
    source_filename = args[0]
    if not source_filename.endswith('.normal.json'):
        sys.stderr.write("Only the *.normal.json files are supported.\n")
        return 1
    f = open(source_filename)
    try:
        filename = determine_json_data_path(f)
        sys.stdout.write(filename)
        sys.stdout.write("\n")
    finally:
        f.close()
    if opts.copy:
        if not os.path.isdir(os.path.dirname(filename)):
            os.makedirs(os.path.dirname(filename))
        shutil.copy(source_filename, filename)
        sys.stdout.write(f"Copied: {source_filename} -> {filename}\n")
    return 0