loadDoc works if doc is in curr dir