def extract_and_add(file_upload, obj, workspace=None, token=None): """Extracts temporary attachments from storage and attaches them into `obj` Extract file data `from file_upload`, create file/image objects and add them as attachments to ``obj``. If workspace and token are given, reuse previously uploaded temporary attachments if they exist. """