New method to add attachment