Smoother method for identifying the file size bytes