Added: If files of selected file type are not present in dir the exception is caught and handled.