add FDIR_FOREACH (macro for iterating through directory entries)