never view the local folder if you have erase_local_folder true
moved erase_local_folder into a method to reduce duplication. credit @mm53bar.
Merge pull request #2 from amaabca/remove_compiled

never view the local folder if you have erase_local_folder true