fileuri are url encoded so it needs to be decoded