filestream not passed to be modified, move strings are returned instead.