added echo end of file