Modified multiRead Java