If you need to replace a File inside a Flow, you must detach the File first:

  1. Click [>] button on Flow box.

  2. Click [Detach File].

Preview