different way of calculating filesize