'Write the Haar cascade to a human readable file. file is an open file pointer.'

def writeToFile(self, file):

    file.write(self.mName)
    file.write((('    ' + str(len(self.mRegions))) + '\n'))
    for i in range(len(self.mRegions)):
        temp = self.mRegions[i]
        for j in range(len(temp)):
            file.write((str(temp[j]) + '    '))
        file.write('\n')
    file.write('\n')
