binding progress bar

how can I bind progress bar to loading datasmith runtime files?
and show what % is loaded?
I did the but it gives me an error