enabled reading of single-file LM; API matches that of existing LMs