def get_commands_file(filename):
    """
    This takes a sql script file and breaks it down to commands to be executed separately
    returns list(string) of individual commands
    """
    with open(filename, "r") as sql_file:
        # Split file in list
        ret = sql_file.read().split(';')
        # drop last empty entry
        ret.pop()
        return ret