def Find_Line(File , Text_Search):
    """Function to find the line number where a string appears in the file """
    
    with open(File,'r') as f:
        """Opens the file """
        
        content = f.readlines()
        # reads all lines and assigns all to content
        
    index = [x for x in range(len(content)) if Text_Search in content[x].lower()]
    # Pythonic language for searching line by line for the specificed string
    
    f.close()
    # Close the file
    
    return index
    # Returns all lines where the string appears. Remianing local variables are wiped