Add setPath and filterByExt