Remove temporary folder processing in CLI module.

This PR is created for issue #480