delete old files + webapp: create a temporary add function