Where is the bug in ReadFromFile

 
 

You should use this code as a script.