private Path resolveFile(String collectionIdentifier, String subjectIdentifier) {
        Path collection = this.container.resolve(collectionIdentifier);
        try {
            MoreFiles.createDirectoriesIfNotExists(collection);
        } catch (IOException e) {
            e.printStackTrace();
        }

        return collection.resolve(subjectIdentifier + ".json");
    }
Returns the file where a subjects data should be stored

@param collectionIdentifier the identifier of the subjects collection
@param subjectIdentifier the identifier of the subject
@return a file
sponge/src/main/java/me/lucko/luckperms/sponge/service/model/persisted/SubjectStorage.java