<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def open_as_pillow(filename):
 """ This way can delete file immediately """

    with __sys_open(filename, 'rb') as f:
        data = BytesIO(f.read())
        return Image.open(data)