The terror chief was plotting to attack Britain on its own soil years before the September 11 attacks, newly declassified files have revealed.