ARQGRA-408 Introduced SPI for custom location schemes
Repaired file decider bug from original implementation, minor refactoring