Yes, thats works.
Is there a way to format the output in MB instead of bytes ?
My whole script is formatted with the "FormatNumber" expression while writing results to a textfile.

WRITELINE (1, $item[0] + " " + $item[1] + @CRLF)