def read_relative_file(filename):
    with open(join(dirname(abspath(__file__)), filename)) as f:
        return f.read()
Returns contents of the given file, which path is supposed relative
dataset/ETHPy150Open twidi/django-extended-choices/setup.py/read_relative_file