I think final result should be a list by time or names of files,but not.You can see the acquired files in 1.txt file of ATTACH FILES using GetFirstFile and GetNextFile.
following is my program code
error=GetFirstFile (filenameZ, 1, 0, 0, 0, 0, 0,FilesName[0]);
while(error==0)
{
i0++;
error=GetNextFile(FilesName[i0]);
}