Dynamically added file to public directory is not accessible from browser


I am trying to upload the files in public directory(web.browser/app) and try to access the file on browser.
But browser wont serve the files added on the run time.
However, I added a static file in the public directory, built the application and deployed. Static file is accessible from browser. After some research I came across program.json inside web.broswer (in development server, not in local server) which has paths and urls mapping to files inside public directory(web.browser/app/).
My question is how to configure so that program.json gives access to all the files inside public directory(web.browser/app/) ? Or do we have any other way to access dynamically added files inside public directory ? I am trying not to S3 or any other 3rd party storages.