removes dead file