Fixed IOFiles not saving in their directories