refactor loading from file in ExternalSortingInputLoader
more refactoring
(SPARQL) repository loader