frontend init. app can send files via post request.