Add a function that can be used to include an external file  with nice error handling.