selection and cursor events
remove file