add a file and modify files