def read_sql_string(file_name):
    """reads the contents of a sql script into a string for python to use in a query"""
    fd = open(file_name, 'r')
    query_str = fd.read()
    fd.close()
    print('Read {0} file as string'.format(file_name))
    return query_str