add line_count/kill_it
update linecount to accept a file type