initial code for reading multiple compatible files #8