Adding submitted files and doing final cleanup