'"Checking for keyword - \'phyloxml\' always in lowercase in the first few lines'

def sniff(self, filename):

    f = open(filename, 'r')
    firstlines = ''.join(f.readlines(5))
    f.close()
    if ('phyloxml' in firstlines):
        return True
    return False
