added bufferedreader for multiple files