Leaked Islamic State files reveal the ‘borders chief’ who helped funnel terrorists into Syria