Where is this ‘remote’ file?
The Bigfix agent runs as SYSTEM on Window, root on other OS, and there are, therefore, difficulties in working with remote files. Search the forum for many instructive posts.
That said, to get the version out of the local file, something along the lines of
(it as string as version) of preceding text of first " " of line 1 of file <your file spec>
May not be 100% correct, I’m typing this on a phone