public function createFileResolver(SubjectConfigurationInterface $subject)
    {

        // create a new file resolver instance for the subject with the passed configuration
        $fileResolver = $this->container->get($subject->getFileResolver()->getId());
        $fileResolver->setSubjectConfiguration($subject);

        // return the file resolver instance
        return $fileResolver;
    }