Update DBMS.cpp

got all of the file io commands working correctly