added wrapper scripts to insert and remove files from the db