corrected api to file_prefix in read calls