title: Load data 'programmatically' to a html input type file
body: <p>I have the typical form to register a record (VUE.JS).</p>
  <p>One of its fields is an '<em>input type = file</em>'.</p>
  <p>I am able to upload a file, send it to the server (Java), and register it in the database (mongo) along with the rest of the fields.</p>
  <p>The user can return to this same page, but in edit mode. (Do some changes and save it again..)</p>
  <p>And this is where I have the problem: I am able to load the input file with the name of the file that I retrieve from the database (“<em>fileName</em>”). BUT not the binary data itself of the file (“<em>fileData</em>”).</p>
  <p>The ‘<strong>data</strong>’ related to the file is available at this point in the frontend as this JSON object:</p>
  <pre><code>{
  &quot;fileName&quot; : &quot;DocPrueba (1).PDF&quot;,
  &quot;fileData&quot; : &quot;JVBERi0xLjcNCiW1tbW1DQoxIDAgb2JqDQo8PC9UeXBlL0N …. Omited  lots of chars like this….&quot;
  }
  </code></pre>