disable open files if drag the file