Do we need that method here? Maybe it should be placed before saving file?