Is it intentional that this would fail to recognize 'file.%d.tif'?  (This pattern requires at least two leading 0's)