add function avp to save pwd to /dev/shm/cur_file_rela_path