Refs #8792. Adding mask file saving and some docs.