as far as I can tell this works for reading multiple files