For my class I have to write code that will receive a pathname and then display the file contents if its a file or display each file and its contents if a directory is the p