Converted the ReadFile.h into class