test add a file.