read attachment