def __open_fds(self):
        if not os.path.isfile(self.filename):
            self.log.debug("File not appeared yet: %s", self.filename)
            return False

        fsize = os.path.getsize(self.filename)
        if not fsize:
            self.log.debug("File is empty: %s", self.filename)
            return False

        self.log.debug("Opening file: %s", self.filename)
        self.fds = open(self.filename)
        fields = ("timeStamp", "label", "elapsed",
                  "Connect", "Send", "Latency", "Receive",
                  "internal",
                  "bsent", "brecv",
                  "opretcode", "responseCode")
        dialect = csv.excel_tab()
        self.csvreader = csv.DictReader(self.fds, fields, dialect=dialect)
        return True
Load a Context object by it's id.
dataset/ETHPy150Open Blazemeter/taurus/bzt/modules/pbench.py/PBenchKPIReader.__open_fds--crossover with--dataset/ETHPy150Open Workiva/furious/furious/extras/appengine/ndb_persistence.py/load_context