Added sourceBase path to public methods.

Cleanup.
Fixed temp file deletion.