add new file and change function