added function opening dired files in external app