Added error message when the selected file doesn't exist