Fixed file deletion.