writing to file has been commented out of STL. Not using it now, but should it be deleted?