Writes a code to print the name of all the files in a particular directory using File class built in methods