@classmethod
def readDataFileLine123(cls, filename):
    """
        Returns the first 3 lines of a file.
        """
    line1, line2, line3 = '', '', ''
    try:
        f = open(filename, 'r')
    except Exception as e:
        return line1, line2, line3
    try:
        line1 = f.readline().rstrip(' \r\n\t').replace('ï»¿', '')
        try:
            line2 = f.readline().rstrip(' \r\n\t').replace('ï»¿', '')
            try:
                line3 = f.readline().rstrip(' \r\n\t').replace('ï»¿', '')
            except Exception:
                pass
        except Exception:
            pass
    except Exception:
        pass
    f.close()
    return line1, line2, line3
