Add a failing warning if no file has been provided.