Added Writing from STDIN to File
Fixed Writing to file from stdin, need to fix new lines