ui input and open file