Change file extension for proper piping