Simplified and safer method of finding real path to filename
Simplified and safer method of finding real path to filename

rogernorling/filewatcher,arturo-c/filewatcher,zeisler/filewatcher,thomasfl/filewatcher