Created directory retrieval function.

Able to retrieve a directory for a user's conversations fairly easily,
will need to make sure to filter out the . and .. file's from the rest
of them all. perhaps by using this: dir->d_type == DT_REG to filter.

http://www.gnu.org/software/libc/manual/html_node/Directory-Entries.html