# Viewing code and executing the Route

## Procedure

1. Click the Code tab at the bottom of the design workspace to have a look at the generated code.

   ![](https://help.qlik.com/talend/en-US/mediation-components/8.0/Resources/images/use_case_cfile4.png)

   As shown in the code, a message Route is built from "cFile\_cFile\_1\_consumer" to "cFile\_cFile\_2\_producer".
2. Click the Run view to display it and click the Run button to launch the execution of your Route. You can also press F6 to execute it.

   RESULT:

   A new output.txt file is written in the C:/Talend/demo directory with the content of the input.txt file.![](https://help.qlik.com/talend/en-US/mediation-components/8.0/Resources/images/use_case_cfile6.png)

   The input.txt file is consumed and moved to the .done sub-directory. ![](https://help.qlik.com/talend/en-US/mediation-components/8.0/Resources/images/use_case_cfile8.png)

   The original output.txt file is moved to the move sub-directory. ![](https://help.qlik.com/talend/en-US/mediation-components/8.0/Resources/images/use_case_cfile7.png)