testing for insertion of the file