added examples related to fileoutputstream