delete unnecesary files, save canvas capture to file