accepts incoming files from web app