Make sure requested offset is less than file size
Make sure requested offset is less than file size