static GetFullPath function added