Show an error when the selected file is not a python script