protected function processSomeFiles($models, $media)
    {
        foreach ($models as $model) {
            foreach ($model->getMediaFiles() as $file) {
                if (in_array($file->name, $media)) {
                    $file->reprocess();
                }
            }
        }
    }