def get_file_source(filename):
    """Read the source of a file.

    This convenience function is present to match the interface of get_module_source.
    """
    with open(filename, 'r') as f:
        return f.read()
