In addition to the following post, I recently learned whilst filming Episode 8 of Let’s build a Magento 2 store from scratch (Series 2) that this message is also shown if the file doesn’t exist. So, for example, in the video I forgot to upload some images and got this message - Which is a little misleading. I hope this helps.