prints all entries in specified directory