You can't do a "test file" check on file on the kserver (..\..\UserProfiles\#vMachine.agentGuid#\Docs\myfile.txt) via another machine, if you do that it will try and locate the file on the machine that you running the check from.
You can however do a check after you have written the file to the machine.