You probly want to use the FileInputStream object and do something like this:
File file = new File(path, name);
FileInputStream input = new FileInputStream(file);
StringBuffer sb = new StringBuffer(10);
while ((bite = input.read()) != -1)
{
if (bit == ' ')
{
//do whatever you need to do with it
sb = new StringBuffer(10);
else
sb.append(bit);
}