write a complete program that does the followingObtain a file name from the command lineOpen that file for readingRead a line from the file, print that line and then close the file.Its should be done in c programming , there is no option for c so i put in c++