Adding simple file writer