You might want to take the opportunity to suggest that indexOfSlice runs outside of the blocking-block since we've already loaded the file into memory