New Write Files Method. Can keep track of the number of objects held by someone with a certain id.