add test code for add new file