i have a function which is using useCallback() and useEffect() and i want to move this function to a file something like Utils.js but i am unable to achieve it