bug in delete? & scan & destroyFile