store fileIds during _getDir