#FilesToPostgres.txt looks like this: processedFileName1.csv processedFielName1.csv #PostgreSQL then has a scheduler running which reads that file into a table, and then loops its rows and runs subsequent commands like COPY tableName FROM /path/to/processedFileName1.csv