Added file exists check
Added doc string
Merge branch 'master' of https://github.com/CWSL/cwsl-mas