if new file { read all lines and insert into db. current_line is the last line } else if not new file { go to current_line read all new lines and insert into db }