added some comment why not to use GetInputDir()