add index_from_from_db_with_file