read partial file from range header