# In case, no file to load

**URL:** <https://community.easymorph.com/t/in-case-no-file-to-load/1629>\
**Category:** General Q&A\
**Created:** [February 6, 2020, 12:16am UTC](https://community.easymorph.com/t/in-case-no-file-to-load/1629 "2020-02-06T00:16:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![seo.goo.kang](https://community.easymorph.com/letter_avatar_proxy/v4/letter/s/48db29/32.png) [@seo.goo.kang](https://community.easymorph.com/u/seo.goo.kang)\
**Post date:** [February 6, 2020, 12:16am UTC](https://community.easymorph.com/t/in-case-no-file-to-load/1629/1 "2020-02-06T00:16:13Z")

</div>

Hi,

Is there any way to just bypass the routine when there is no file to load in automation?  
I am doing 'Run program' for unzip and locating files to another folder.

Thank you.

---

<div class="post-metadata">

**Author:** ![dgudkov](https://community.easymorph.com/user_avatar/community.easymorph.com/dgudkov/32/5_2.png) [@dgudkov](https://community.easymorph.com/u/dgudkov)\
**Post date:** [February 6, 2020, 9:33am UTC](https://community.easymorph.com/t/in-case-no-file-to-load/1629/2 "2020-02-06T09:33:17Z")

</div>

Yes, you can use the conditional branching arranged with derived tables. See this tutorial chapter about conditional branching: [Conditional workflows](https://easymorph.com/learn/conditional-workflows.html).

The example below creates a file, which name is specified by a parameter, if it doesn't exist. If the file exists, the project deletes it. Press "Reload and run" several times to see the two conditional branches toggle.

[file-exists.morph](https://community.easymorph.com/uploads/short-url/4OREDaUn1vdfwxKOGmMoLXAl7CB.morph) (4.3 KB)

 ![image](https://community.easymorph.com/uploads/default/original/2X/f/f1dc282ab09ec253d887897d8d49a3f58ce9d288.png)

If you need to perform on condition a routine larger than just a few sequential actions, then the routine should be put in a separate module, and called from a conditionally derived table.
