def _open_ascii(self,fname=None):
        if fname is None: fname = self.filename
        if fname is None: return None

        self.ShowProgress(1.0)
        #  self.ShowMessage("opening file %s  ... " % fname)
        try:
            f = open(fname,'r')
            lines = f.readlines()
            lines.reverse()
            f.close()
        except:
            self.ShowMessage("ERROR: general error reading file %s " % fname)
            return None

        line1    = lines.pop()
        if 'Epics Scan' not in line1:
            self.ShowMessage("Error: %s is not an Epics Scan file" % fname)
            return None
        return lines
deque to new job  of a certain pilot
dataset/ETHPy150Open xraypy/xraylarch/plugins/io/gse_escan.py/EscanData._open_ascii--crossover with--dataset/ETHPy150Open saga-project/BigJob/coordination/bigjob_coordination_redis.py/bigjob_coordination.dequeue_job