//here we should mark the binary data as invalid on the package (which means moving something into repo modle)
AssetItem item = repository.loadAssetByUUID( uuid );
item.updateBinaryContentAttachment( fileData );
item.updateBinaryContentAttachmentFileName( fileName );
item.getModule().updateBinaryUpToDate( false );
item.checkin( "Attached file: " + fileName );
// Special treatment for model and ruleflow attachments.