Updated the refresh token handler to use IFile