I try to write a function that reads word by word from a txt file but I have some problems with implementing this function.
If the txt file is for example "Hello wor