I want to loop over a directory of files with a name on every line and input that as a query parameter to a python script which queries an SQLite database and some APIs and