I'm using session.recordFile in a javascript.

How do I check the length of the recorded file?