Added a handy function to ls a directory.