Remove files not needed for core