Fixes and doc updates.

Corrected module name (removed "mod").
Corrected comment when test=True in set_file.
Added example to specify env't for file in set_file.