update reader after setting file name