made LDFile interfacing a bit clearer