further work on sqlite.c:track_file()