Retrieve the most relevant files from a database (used books for the files)