Improved the display_text_file(): moved to text.cpp and made it more independent.