Use the SQLite CLI's fsdir() table functions with lines_read() to read lines from every file in a directory.