Added a separate file for errors