changed to Joomla\Filesystem\File