fixed uninitialized filesize value