add a script of choose file