Split cursor.HandleEvent into file
Change Lines from [][]byte to []string

This simplifies common operations.