In my app, users pick files. Internally, I store information about the file, which I key based on the file path. Next time that file is used, I do stuff with the stored inform
Take a look at the answer here. It also uses canonical path, but in a slightly different manner that might work for you