move Exceptions to a file