made sure all the files were present