<filename>tpotMalwareArchiver.py
import yaml
from os import path
from libTpotMalwareArchiver import malwareArchiver

if __name__ == '__main__':

    # Read yaml config file
    YAMLFILE = "./tpotMalwareArchiverSettings.yaml"  # System Configuration and Variables

    if (path.exists(YAMLFILE)):
        # -- Loads Configuration File for LookOut --
        with open(YAMLFILE, "r") as file:
            config = yaml.load(file, Loader=yaml.FullLoader)
    else:
        print("ERROR: No config file, please refer to ES_DataPull.yml.example in root folder of script")
        exit()

    malwareArchiverObj=malwareArchiver(config)
    #malwareArchiverObj.getFilenames()
    #malwareArchiverObj.processFiles()

<filename>tpotMalwareArchiver.py
import yaml
from os import path
from libTpotMalwareArchiver import malwareArchiver

if __name__ == '__main__':

    # Read yaml config file
    YAMLFILE = "./tpotMalwareArchiverSettings.yaml"  # System Configuration and Variables

    if (path.exists(YAMLFILE)):
        # -- Loads Configuration File for LookOut --
        with open(YAMLFILE, "r") as file:
            config = yaml.load(file, Loader=yaml.FullLoader)
    else:
        print("ERROR: No config file, please refer to ES_DataPull.yml.example in root folder of script")
        exit()

    malwareArchiverObj=malwareArchiver(config)
    #malwareArchiverObj.getFilenames()
    #malwareArchiverObj.processFiles()

# Read yaml config file # System Configuration and Variables # -- Loads Configuration File for LookOut -- #malwareArchiverObj.getFilenames() #malwareArchiverObj.processFiles()