Data Importig and exporting with attachment

How can we export the attachment in the ERP next for example if some added an expense with attachment how can i export with the attachment .
Same if i want to import data how can i add attachment.