modified directory class, doesn't need the inside jar attribute any more