Compute the size of the file