test adding a file