I've never used visual logic but downloaded a demo. Looks like you have to use the Input block and click on the "More >>" Button on that dialog which will allow you to specify to use a File for input.
Have you watched the tutorial here? ==> Visual Logic
Have you asked your teacher for guidance?