A file identification tool based on lua script