replace all occurences of revved file
added option to ignore specific extensions