filter folders from files list