$file(path\to\filename).size returns the exact size of the file. No need for $calc at all. Scripts commonly use $bytes($file(filename).size),3).suf to return 15.3MB (omit the ,3 to get a longer form, though still probably only 5 decimals).