def get_file_group(file):
try:<EOL><INDENT>return getgrgid(os.stat(file).st_uid)[<NUM_LIT:0>]<EOL><DEDENT>except KeyError:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>
Get file group id

    :param file: Path to file
    :return: group id
    :rtype: int