A simple program that lists all the files in a directory written in Java