Put file input in separate module
Add progress callback to analyser, and show in interface