def header(self, tup):
    self.headings = tup
    self.current_heading = 0
    for heading in tup:
        self.currentfile['cols'][heading] = []
def header(self, tup):
    self.headings = tup
    self.current_heading = 0
    for heading in tup:
        self.currentfile['cols'][heading] = []