using sqlite to store file name