Update the API to harvest an object instead of a File