change all read in files to read only mode