how to filter files (with known type) from os.walk?,files = [fi for fi in files if not fi.endswith('.dat')]