You can create a thing first in your DB and then attach the file to this newly created thing in the subsequent step