slight update
Doing it this way doesn't interfere with the filenames in any way. Remove the scheme and host rather than parsing a uri