Now uses input from user to pick file.