Added try catch around body filestream