ensure we don't lock access to files
use bytestrings all around