calculate file size and show it