removed automatic file deletion to test for errors