title: How to retrieve meta data of a FAL Object in Extbase
body: <p>In my extension I read Folders and Images. But in the result always the meta data from sys_file_metadata is missing and I found nothing how to load it.</p>
  
  <p>The database entries are there so the file is indexed and everything seems to be ok. BE is working fine.</p>
  
  <p>Here some code:</p>
  
  <p>Controller-Action:</p>
  
  <pre><code>$storageId = 1;
  $storageRepository = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Resource\\StorageRepository');
  $storage = $storageRepository-&gt;findByUid($storageId);
  $singleFile = $storage-&gt;getFile('/user_upload/my_file.pdf');
  $singleFile = true;
  $this-&gt;view-&gt;assign('singleFile', $singleFile);
  </code></pre>
  
  <p>If I do a f:debug it showns me this:</p>
  
  <pre><code>Extbase Variable Dump
  
  TYPO3\CMS\Core\Resource\Fileprototypeobject
     metaDataLoaded =&gt; FALSE
     metaDataProperties =&gt; array(empty)
     indexingInProgress =&gt; FALSE
     updatedProperties =&gt; array(empty)
     indexerService =&gt; NULL
     properties =&gt; array(15 items)
     storage =&gt; TYPO3\CMS\Core\Resource\ResourceStorageprototypeobject
     identifier =&gt; '/user_upload/my_file.pdf' (24 chars)
     name =&gt; 'my_file.pdf' (11 chars)
     deleted =&gt; FALSE
  </code></pre>
  
  <p>As you can see there is a field metaDataProperties and metaDataLoaded, so its not loaded.</p>
  
  <p>Does anybody know how to load it?</p>