**Symfony version(s) affected**: 4.2.0-beta1 **Description** In a form with an optional file input, when not sending a file, I get this Error: > Call to a member function getClientOriginalName() on null  **Additional context** I think this error was introduced by https://github.com/symfony/symfony/pull/26946, ping @javiereguiluz