Adding debug messages related to file saving.
I'm not sure why it becomes part of the previous MR, is it because that's what I based this branch on?
I'm not sure why it becomes part of the previous MR, is it because that's what I based this branch on?