restore this file.
usage of chdir() and getcwd()