Get rid of leftover rubbish
Don't run the importFiles regex if there's nothing to import