add file and edit