Add Unicode handling and close output file
Skip all plus extesnsions