def METHOD_NAME(self, inputfile: str, layoutfilename: str=None, outputfile: str=None) -> None:
    # ViewFile(inputfile, ROOT_TYPE, logfile, outputfile)
    self.SetDestPath(inputfile)
    filetype = os.path.splitext(inputfile)[1].lower()
    if filetype == '.fd':
        ROOT_TYPE = ROOT_TREE
    elif filetype == '.fv':
        ROOT_TYPE = ROOT_FV_TREE
    elif filetype == '.ffs':
        ROOT_TYPE = ROOT_FFS_TREE
    elif filetype == '.sec':
        ROOT_TYPE = ROOT_SECTION_TREE
    elif filetype == '.elf':
        ROOT_TYPE = ROOT_ELF_TREE
    else:
        ROOT_TYPE = ROOT_TREE
    ViewFile(inputfile, ROOT_TYPE, layoutfilename, outputfile)