I made path delimeters more portable by using file.seperator. i also made sure that the file output writer was encoding in utf-8.