tried getfilesize but only seemed to work on files not dir's.

The dir's will be larger than 2GB