To me it makes sense to make this an if/else block depending on the `file://` being used and then just making the message `File does not exist: #{file}`.