Created by: sidgoyal78
This PR addresses issue #7722 (closed) by implementing the approach described in the issue.
TODO: As pointed out by @reyoung in the implementation of save_op
, we need to move few file-related helper functions to a different namespace. I will do it maybe in this PR or maybe another. For the time being the helper functions are replicated and are static.