Adds temporary file reading.