In the above promise for the Windows file, you have ```pathtype => "regex"```. Why is it needed there but not here?

Also, could you not define a variable for the filename, and have just 3 promises instead of 6?