Fix/Change exclude regExp and fixed some debug 

debug says file got encoded while there not. Fix.
exclude dint not exclude the RegExp