The FileLen function returns the number of bytes in a file, e.g.:

num = FileLen("c:\readme.txt")