DNA is an ultra-high-density storage medium that could meet exponentially growing 1 worldwide data storage demand. However, accessing arbitrary data subsets within exabyte-2 scale DNA data pools is limited by the finite addressing space for individual DNA-based 3 blocks of data. Here, we form files by encapsulating data-encoding DNA within silica 4 capsules that are surface-labeled with multiple unique barcodes. Barcoding is performed 5 with single-stranded DNA representing file metadata that enables Boolean logic selection on 6 the entire pool of data. We demonstrate encapsulation and Boolean selection of sub-pools of 7 image files using fluorescence-activated sorting, with selection sensitivity of 1 in 10 6 files per 8 channel. Our strategy in principle enables retrieval of targeted data subsets from exabyte-9 and larger-scale data pools, thereby offering a random access file system for massive 10 molecular data sets. 11 12 DNA is the polymer used for storage and transmission of genetic information in biology. In 13 principle, DNA can also be used as a medium for the storage of arbitrary digital information at 14 densities far exceeding existing commercial data storage technologies and at scales well beyond 15 the capacity of current data centers 1 . Ongoing advances in nucleic acid synthesis and sequencing 16 technologies also continue to reduce dramatically the cost of writing and reading DNA, thereby 17rendering DNA-based digital information storage potentially viable economically in the near 18 future 2-5 . As demonstrations of its viability as a general information storage medium, to date 19 books, images, computer programs, audio clips, works of art, and Shakespeare's sonnets have all 20 been stored in DNA using a variety of encoding schemes 6-12 . In each case, digital information was 21 converted to DNA sequences and typically fragmented into 100-200 nucleotide (nt) blocks of data 22