pruning extraneous files