expansion of active file directory with %%