Flask server reads an output file