Started helper functions for shntool splitter.