check() {
  local f=$1
  if [ -f "$f" ]; then echo found; fi
}
