Added stacktrace printing to file load on error.