def read_data(filename):
    """
    Reads raw space image format data file into a string
    """
    
    data = ''
    
    f = open(filename, 'r')
    for line in f:
        data += line.strip('\n')    
    f.close()   
    
    return data