Auto eclipse format and put the reader in the write loop