different sourcefile error handling