Revert: Fix some problems with the AI.
Use resources rather than file names.