updated fileutil to work with new shock_client api