[TIMOB-17582] Use path instead of absoluteString

This fixes the mismatch between absoluteString and plain File path used
in getFile
Merge pull request #6301 from vishalduggal/timob-17582-34X

[TIMOB-17582] (3_4_X) Use path instead of absoluteString