Question: I need to 
1) Find a zipfile at a particular directory location
2) If it exists then unzip it
3) Out of its contents find a specific file and move it to other directory.

```
def searchfile():
for file in os.listdir('/user/adam/datafiles'):
    if fnmatch.fnmatch(file, 'abc.zip'):
        return True
return False

```

if searchfile():

```
print('File exists')

```

else:

```
print('File not found')

```

def file\_extract():

```
    os.chdir('/user/adam/datafiles')
    file_name = 'abc.zip'
    destn = '/user/adam/extracted_files'
    zip_archive = ZipFile (file_name)
    zip_archive.extract('class.xlsx',destn)
    print("Extracted the file")
    zip_archive.close()

```

search\_file

file\_extract

When I execute the above script, it shows no compile time issues or runtime issues,. but it just works for the first function. When I check for the files in the extracte\_files folder I don't see the files.

Answer: 
The antd library recently made a breaking change to its typings, and your version constraint auto updates to the latest version in the same major version, introducing the error. If you fix the antd version (remove the "^") and run `npm install` again you should be fine.
open `C:\Users\SCC\Desktop\xxx\web-shop\node_modules\antd\lib\upload\interface.d.ts`, then delete the **?** behind `lastModifiedDate`.