working scanner and locator - del ~ files