<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getfat(file):
 """ Determine the file architecture and file type of most SPICE kernel files. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/getfat_c.html :param file: The name of a file to be examined. :type file: str :return: The architecture of the kernel file, The type of the kernel file. :rtype: tuple """

    file = stypes.stringToCharP(file)
    arclen = ctypes.c_int(4)
    typlen = ctypes.c_int(4)
    arch = stypes.stringToCharP(arclen)
    rettype = stypes.stringToCharP(typlen)
    libspice.getfat_c(file, arclen, typlen, arch, rettype)
    return stypes.toPythonString(arch), stypes.toPythonString(rettype)