Only serve version info of files which are currently accessible.
Replace constant with setting.