modified open file action path init to the cur directory