add stats for a full file