Add file reading to analyser.