Readable file object provided by ResourceDirectory mapping
objects. You can treat this simply as file object. It also is a
context manager, so you can use it using with.
Parameters:
file – file to wrap
class plastic.resourcedir.ResourceDirectory(package, directory='')¶