I would also print len(files) and point.
note that dict is built-in function, so better choose another name not to overwrite the built-in function
note that dict is built-in function, so better choose another name not to overwrite the built-in function