temp filestream file creation adjusted