def _read_file(filename):
    """
    Read a file and return the bytestring
    Args:
        filename: The location of the file
    Return:
        The bytestring of the file
    """
    f = open(filename, 'rb')
    data = f.read()
    f.close()
    return data