adding click to open file feature to draggable