getting rid of redundant files