Save blackbox data in file