@staticmethod
def __remove_lines__(string, num_lines):
    """
        remove first n lines of a string
        """
    i = 0
    n = 0
    l = len(string)
    while n < num_lines:
        i = string.find('\n', i + 1)
        if i == -1:
            return ''
        elif i + 1 == l:
            return ''
        n += 1
    return string[i + 1:]
