strict file cleaning