Added file opening and double click action