calulate file size