fix: check that dropped element is file