Files now correctly truncated from resume point.
Headers ignored for checking for end.