public function restoreFileList()
{
$newFiles = array_udiff($this->getService('filesystem')->listContents(self::FILESYSTEM . '://'), $this->oldFiles, function (HandlerInterface $file1, HandlerInterface $file2) {
return strcmp($file2->getPath(), $file2->getPath());
});
/** @var HandlerInterface $file */
foreach ($newFiles as $file) {
$file->delete();
}
}