You can't use == for single bracket comparisons ([ ]). Use single = instead. Also you must quote the variables to prevent expansion.
if [ "$bn" = README ]; then
If you use [[ ]], that could apply and you wouldn't need to quote the first argument:
if [[ $bn == README ]]; then