MAINT: updated to use preferred file reading method