def METHOD_NAME(codename, filename, new_name):
    """Remove files that shouldn't be in Debian.
    The inline copies should definitely not be there. Also remove the
    PDF files.
    """
    copyFile(filename, new_name)
    check_call(["gunzip", new_name])
    if shallNotIncludeInlineCopy(codename):
        command = [
            "tar",
            "--wildcards",
            "--delete",
            "--file",
            new_name[:-3],
            "Nuitka*/build/inline_copy",
        ]
        check_call(command)
    check_call(["gzip", "-9", "-n", new_name[:-3]])