Fix /file/info route after recent changes