Add generic file utilities to RPC server