Yes, exactly you need to query the files table. Just follow the steps i provided in my previous answer …
In Server Connect, whenever you want to access a property from a query in a step after it you need to use the repeat step. It does not matter if your query returns one or many records. And in your case you need the name/path saved in the query … and you filter it by the id passed by the POST var.