Add Exception when reading files