Corrected module name (removed "mod").
Corrected comment when test=True in set_file.
Added example to specify env't for file in set_file.
Merge pull request #3815 from mrtizmo/develop

Fixes and doc updates.