Read JSFile Contents?

Hi,

Is it correct that you can't currently (I'm using R2 2.0 RC2) read the contents of a JSFile returned from the showFileOpenDiaolg method od the File plugin?

(Ie: if I select a text file, can I read the contents into a method variable or field?)

If not, how can this be accomplished? Write my own plugin to return the file data?

Thanks.

Whoops, sorry to take up anyone's time!

I've just found the readFile and readTXTFile methods of the Application object which appear to do exactly what I'd like.

Cheers,

Joel