Outputs all files and directories within a directory.