created method for checking archive contents