uses attachment object instead of file path