Add removeClassFiles function for removing java class files