`Boolean(fileHistory)` ? why not `!!fileHistory`