Bug fix in inconsistent calculation of file size - now using 1000 bytes in a kilobyte