added ldoc for file, removed extraneous error return values.