Internal function to implement saving extracted variable to disk or returning into R workspace.
implement_output.Rd
Will save extracted variable to disk if out_save_disk = TRUE
. Note it relies on correct underlying structure
of directories. Will output extracted variable into R workspace if return_output = TRUE
.