Updated initializer (reading full files and parsing them at once.)