<form enctype='multipart/form-data'>
      <h1>
        Upload files
      </h1>
      <input type='file' name='photo' @change="filesChange($event.target.name, $event.target.files)">
</form>