Save attach file in a file server or other local location in Bonita soft

I’m currently studying this bonitasoft and having difficulty in the attach file on where it is located after being submitted and how to retrieve it on a different process flow.

I tried the examples on file attachment but i’m unable to trace on where it is located.
Can the attach file be saved or be transferred into a different location (saving the path in the BDM/database for reference and use for other activity). Need a sample snippet/code to be able to understand the routine.

Thank you in advance.