You are reading the entire file, which is not splitable. Should offset always be 0?