simplified DocumentLoader