Added file delete functionality and toast notifications.