Try using api.add_files separately again