4.2. readFile() moved to main.cpp