make use of the Cwd module in perl to translate relative directory paths