The previous logic was also semantically incorrect, as the file was never cached, therefore, the `if` was redundant.