calculate file size based on successful submissions