the other way to choose a file to input.