Resolving symlinks added. Need to test on various platforms though.