How can I upload a file to a case by inputting a full file path instead of choose a file in dialog

How can I upload a file to a case by inputting a full file path instead of choose a file in dialog?

As-is file uploading operation of our application:

  • Press Upload button

  • A standard Window file selection dialog pop up

  • Choose a file, then confirm

Now, per a requirement of robot, we want uploading file to a case with a local file path, e.g. C:\folder\file.txt, that input as a text field.

May I know any OOTB / suggested solution for this requirement?

Thanks.