Implemented a simple file-read mechanism. Print out appropriate warnings when unwanted number of files are named.