I can add files to transactions using menu
Transaction > associate file with transaction to assign files.
I want to export the transactions in a way so that this file reference it included in the exported file.
I'm using GnuCash 2.6.13 on Linux