added filesize stuff