test adding file to data