very basic listDirectory method

Still trying to get a grip on progressing through it all