order compilation and report file on error