How to know flask's directory construction?

If I got a vuln to read any file on a flask/wsgi server, how can I read arbitrary file in /var/www/html?

if you know that path exists, but don’t know the files in it and you need the name of the file, the only way would be to fuzz it

If you are trying to figure out what the directory structure is for a certain application, you can try and recreate the installation if you know enough about the machine, or you have to just google what the defaults are and hope those are in use, or try and find a config file that will give you the structure