Create file_eof.cpp

Open a file and read the content.