save coordinates in individual files controlled by hit ENTER key

just merge rex branch to master branch