# Except\_file\_to\_exist not working

**URL:** <https://discourse.greatexpectations.io/t/except-file-to-exist-not-working/907>\
**Category:** Archive\
**Tags:** how-to, s3\
**Created:** [October 20, 2021, 7:03pm UTC](https://discourse.greatexpectations.io/t/except-file-to-exist-not-working/907 "2021-10-20T19:03:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![manojpandey](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@manojpandey](https://discourse.greatexpectations.io/u/manojpandey)\
**Post date:** [October 20, 2021, 7:03pm UTC](https://discourse.greatexpectations.io/t/except-file-to-exist-not-working/907/1 "2021-10-20T19:03:40Z")

</div>

I am trying to use the except\_file\_to\_exist via FileDataAsset and it’s failing as this expectation is not loaded into registry.

Failed at  
registry.py

\_registered\_expectation.get(expectation\_name)

I followed the blog [Great Expectations Blogs](https://greatexpectations.io/blog/welcome-to-great-expectations-filedataasset/)

Please provide any examples or pointers to solve this.
