Add function to open files on drop