Fixes secret token file