Not really related to this PR, but I once discussed with @ilayaperumalg and it seems we could get rid of that resourceIdentifier concept altogether (and avoid a file: reference here)