added open(), close(), lseek(), pfd(), printfilepath(),findparent() and truncate()