Adding error message in case file not found.