Thoughts on using:
```
if exist('bf_warninglog.txt','file'),
    return;
end
```
instead to better identify the diffs?