Had the hidden files logic backwards, reversed and fixed.