File metadata
If you were to download code from the internet, it would have the URL in the file's metadata, wouldn't it... why not check that instead of if a filename exists...?
If you were to download code from the internet, it would have the URL in the file's metadata, wouldn't it... why not check that instead of if a filename exists...?