moved file support to token service