def get_blobstore(layout):
if layout.is_s3:<EOL><INDENT>from wal_e.blobstore import s3<EOL>blobstore = s3<EOL><DEDENT>elif layout.is_wabs:<EOL><INDENT>from wal_e.blobstore import wabs<EOL>blobstore = wabs<EOL><DEDENT>elif layout.is_swift:<EOL><INDENT>from wal_e.blobstore import swift<EOL>blobstore = swift<EOL><DEDENT>elif layout.is_gs:<EOL><INDENT>from wal_e.blobstore import gs<EOL>blobstore = gs<EOL><DEDENT>elif layout.is_file:<EOL><INDENT>from wal_e.blobstore import file<EOL>blobstore = file<EOL><DEDENT>return blobstore<EOL>
Return Blobstore instance for a given storage layout
    Args:
        layout (StorageLayout): Target storage layout.