code: def attachment_simple(self, files, parentid=None):
          
          orig = self._attachment_template("imported_file")
          to_add = [orig.copy() for fls in files]
          for idx, tmplt in enumerate(to_add):
              tmplt["title"] = os.path.basename(files[idx])
              tmplt["filename"] = files[idx]
          if parentid:
              return self._attachment(to_add, parentid)
          else:
              return self._attachment(to_add)
docs: Add attachments using filenames as title
          Arguments:
          One or more file paths to add as attachments:
          An optional Item ID, which will create child attachments