In case file opening fails.