Suggest using DirSupport helper instead so that it handles links properly, Files has some issues around this.