add_to_database function

Adds a single .txt file to an SQLite database on the hard disk.