convert file into string

HiI'm facing a problem here and i wonder if you could help:i want to convert a .txt file into a string so i can analyze the words!thanks
[165 byte] By [drg1599a] at [2007-11-27 4:35:01]
# 1
http://java.sun.com/docs/books/tutorial/essential/io/index.html
Hippolytea at 2007-7-12 9:45:00 > top of Java-index,Java Essentials,New To Java...
# 2
when i'm trying to run the first programm in this page: http://java.sun.com/docs/books/tutorial/essential/io/scanning.htmli get a filenotfoundexception.....what can i do about it?
drg1599a at 2007-7-12 9:45:00 > top of Java-index,Java Essentials,New To Java...
# 3
Does the file exist?
Hippolytea at 2007-7-12 9:45:00 > top of Java-index,Java Essentials,New To Java...
# 4
i created the file in the folder with the project...
drg1599a at 2007-7-12 9:45:00 > top of Java-index,Java Essentials,New To Java...
# 5
Include the full path in the file name.
floundera at 2007-7-12 9:45:00 > top of Java-index,Java Essentials,New To Java...