script-copy the epub file depending on the metadata
I can use calibredb and point it to a db file
I have found a workaround by asking calibredb to include the uuid in the json and then using ebook-meta on the epub files and comparing the uuid.
This is sub-optimal

What I want to do is to be able to request a book to the server. If I can do that by providing a UUID and then having the file in return, fine. I don't care about the file name actually, I car about the file.