check first if file exists
confirm dialog for deleting files