nl_tokens: setupCustomFileProperties : modify the file object with extra properties
pl_tokens: function setupCustomFileProperties ( files , groupID ) { for ( var i = 0 ; i < files . length ; i ++ ) { var <mask> = files [ i ] ; file . extra = { nameNoExtension : file . name . substring ( 0 , file . name . lastIndexOf ( '.' ) ) , extension : file . name . substring ( file . name . lastIndexOf ( '.' ) + 1 ) , fileID : i , uniqueID : getUniqueID ( ) , groupID : groupID , prettySize : prettySize ( file . size ) } ; } }