There is no point in removing saving_flags 0 to 3 and leaving 5 to 8. Also saving_flags 0 to 3 were already in use in another function (MultipleFileInversion).