read in the list of files and titles