def locationGenerator(r,t,c,data='data', contextMgr=False):
    """
    Given R, T, C, this funtion will generate a path to data in an imaris file
    default data == 'data' the path will reference with array of data
    if data == 'attrib' the bath will reference the channel location where attributes are stored
    """
    
    location = 'DataSet/ResolutionLevel {}/TimePoint {}/Channel {}'.format(r,t,c)
    if data == 'data':
        location = location + '/Data'
    if contextMgr == True:
        location = location[8:]
    return location