Applied smart pointers to MPC::File class