expand directory path