Remove unneeded files from component views