FileNotFoundError when first creating cache file

FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\Users\wilson\Downloads\ONE\157.99.138.172_8080\.rest'

Pbobably due to the fact that the directories have to be checked or else created