public static function getComponent(RenderingContextInterface $renderingContext, array $arguments)
{
/** @var File $component */
$component = static::getPreparedComponent('File', $renderingContext, $arguments);
$component->setMaxSize($arguments['maxSize']);
$component->setDisallowed($arguments['disallowed']);
$component->setAllowed($arguments['allowed']);
$component->setUploadFolder($arguments['uploadFolder']);
$component->setShowThumbnails($arguments['showThumbnails']);
$component->setUseFalRelation($arguments['useFalRelation']);
return $component;
}