RobotStudio event

How do I read files in robotstudio?

Hi,

I am trying to read the coA?rdinates from a text file on the harddrive and then change the position of the robotarm(in the robotstudio simulation) according to those coA?rdinates.
The 3D camera sends the X, Y and Z coA?rdinates to 3 seperated *.txt files (X.txt / Y.txt / Z.txt). I want to read those files and use them to change the position of the robotarm, but I have no clue how to begin.
If this is possible, can anyone explain me how to?

Thanks in advance
Gr. Jean