Remove file:// in url when playing an emotion file
Right includes for macos
safe guard