try guessing file size from header.