Added new files file_io.h and file_io.cpp to the project.
Minor changes in optimization_task.h.