Update fileSize after changing it