title: How to remove file from local dir after moving in to GCP Storage using Spring Integration
body: <p>I have this code and it successfully moves files from local dir to GCP Storage bucket when they are put there but I need to remove them after moving to GCP.</p>
  
  <pre><code>@Bean
  @InboundChannelAdapter(channel = "new-file-channel", poller = @Poller(fixedDelay = "5000"))
  public MessageSource&lt;File&gt; streamingAdapter(Storage gcs) {
      FileReadingMessageSource sourceReader = new FileReadingMessageSource();
      sourceReader.setDirectory(new File(INPUT_DIR));
      sourceReader.setFilter(new SimplePatternFileListFilter(FILE_PATTERN));
      return sourceReader;
  }
  
  @Bean
  @ServiceActivator(inputChannel = "new-file-channel")
  public MessageHandler outboundChannelAdapter(Storage gcs) {
      GcsMessageHandler outboundChannelAdapter = new GcsMessageHandler(new GcsSessionFactory(gcs));
      outboundChannelAdapter.setRemoteDirectoryExpression(new ValueExpression&lt;&gt;(this.gcsReadBucket));
      return outboundChannelAdapter;
  }
  </code></pre>