add file scan and insert