removing cap files