The same principle applies to any text file, basically splitting words only on spaces or new lines