Added a method to test for junk-files, so they're ignored during patching