Fixing file parsing for multiple contiguous core lists