filtering non/invalid -py files and and folders without __init__.py