I have a Flask app with a form which takes a file name and a value, passes it to a python function which uses them for some processing and then stores an image file in the \'sta