add AbsPath and IsFileExists function

add two functions, please code review :)