Adding file deletion functionality