Test add file.