fix bug: add '\n' at the end of each Name when output in WriteToDataBase function
Search from DataBase Generated by UpdateFuncDUDatabase.py and output locaiton list
fix bug:
1. replace Def Mark 'Def\n' with 'Define\n'
2. add gaurde to prevent from reading over eof