FLA file version detection

Does anyone know how to detect an .FLA files version without opening it ?

I need to auto-check fla’s before they are uploaded to a CVS system, but only version 8’s can be submitted, otherwise I get a system crash.

[SIZE=2]jsfl script perhaps ? not my strongest area to be honest.

Regards,
Pablo
[/SIZE]