def get_gzipped_name(name):

    """
    returns the location of the gzipped version of a specified file

    """

    file_ext_index = name.rfind('.')
    file_name, file_ext = name[:file_ext_index], name[file_ext_index:]
    return '%s.gz%s' % (file_name, file_ext)