It's possible to attach files in a cycle (A -> B -> A) and possibly to themselves (A -> A) by commenting on file A with `{Fbbbb}` and on file B with `{Faaaa}`. The policy evaluation never exits.
A hacky fix would be to prevent files from being attached to files.
A cleaner fix would be to resolve cycles correctly, but this might be involved.