Thanks for your reply Sham.
We are using File Attachment component for accepting image from user. This component stores image under the structure: /FormInstancexxxx/subfolder/myfile.jpg
Attached screenshot
The text inputs are stored as properties at sling:folder FormInstancexxxx whereas myfile.jpg is stored under subfolder as nt:file.
Is there any way, we can configure File Attachment component to store file directly as property of FormInstancexxxx ?
Also, when I triage normal reverse replication, it only reverse replicates the folder whose path I pass in the payload. If it has files under it, they are not reverse replicated to author instance. Is this right behavior or I am missing something ?