bug: bind only if settings isFile exists