def NthLineOfFile( fname, n = 0 ):
    """Return the nth line of file (zero-indexed)"""
    with open( fname ) as f:
      while n > 0:
        f.readline()
        n -= 1
      return f.readline().strip()