public function add_string_to_pool($content, $newrecord = null) {
        $this->call_before_file_created_plugin_functions($newrecord, null, $content);
        return $this->filesystem->add_file_from_string($content);
    }