A unit test of class File in core library
Don't forget to also test the sanitizeUrl method.
I'm not sure the file exists just by settings its name. You should at least write in it before
you should remove the created files at the end of the test, to be sure it does not impact the next tests and each are independant
The file is missing a filename
can you also check the content of the error here?