adding *.bak and *.class these should not be saved