expand the path of the current file