replace .find('.scss') > 0 by endswith() (cleaner)