making sure file has been added