title: Laravel 5 form validation on failure keep uploaded data
body: <p>I am working on a Laravel project and I have routes set up for a form page where it shows the form on GET and it analyzes it on POST:</p>
  
  <pre><code>Route::get('/update-data', [
      'as'   =&gt; 'user.settings.edit-data',
      'uses' =&gt; 'UserController@editData',
  ]);
  Route::post('/update-data', [
      'as'   =&gt; 'user.settings.update-data',
      'uses' =&gt; 'UserController@updateData',
  ]);
  </code></pre>
  
  <p>In this form I ask the user to fill out two fields with text and I also ask them to upload two files. Both files must be jpeg, png or pdf. In the controller I have:</p>
  
  <pre><code>$this-&gt;validate($request,
      [
          'phone' =&gt; 'required',
          'email' =&gt; 'required|email',
          'file1' =&gt; 'required|mimes:jpeg,png,pdf',
          'file2' =&gt; 'required|mimes:jpeg,png,pdf',
      ]);
  </code></pre>
  
  <p>If that succeeds, then the code will continue executing and save everything, but if not it will redirect the user back to the form. Is there a way to still have the file chosen so that the user doesn't need to look for it again?</p>