Simplify code.
Add .pyc, .pyo and __pycache__ to the default list of excluded files