Read attachments

Missing var statement