reformatting output
changing output style in cgenc_file.c
trigger error if file protocol is selected; correct text encoding memory issue