File statistics with docgen
The following is code to calculate the file stats in docgen:
<File>
<file_name>$options.cdfname</file_name>
<creation_date_time>$File.getModificationDate("$options.cdfpath/$options.cdfname")</creation_date_time>
<file_size unit="byte">$File.getSize("$options.cdfpath/$options.cdfname")</file_size>
<md5_checksum>$File.getMD5("$options.cdfpath/$options.cdfname")</md5_checksum>
</File>