receiving a text file into the controller

Hi all,

Does anyone know how to transfer a text file to a controller in real time?

Attached is a text file with coordinates,it works perfectly for me when reading it from the HOME folder.  
I want to receive this file from another computer in real time. 
Hope someone has an idea.