import io


def read_input(input_file):
    """ Read OpenAssessIt .md file  """
    if input_file:
        if type(input_file) is str:
            with io.open(input_file, encoding='utf-8') as stream:
                return stream.read()