remove and ignore unnecessary files