A military plane crash in Spain was probably caused by computer files being accidentally wiped from three of its engines,…