Bether error handling with custom error FileNotFoundError