add common tool file