Make topology files read dynamically from directory