auto add folders for opened files