Fixed the problem with KiPersistenceWrapperService so that it now passes the file through to the persistence layer

I also tided up the file to eradicate repeating strings.