This function is the implementation of the UNIX readdir
struct dirent *file_readdir(DIR *pDirectory );