If you by mistake deleted files from a usb flash drive, do not worry, those files are not deleted permanently. You can still recover those deleted files from usb flash drive for free.
To recover deleted files from usb flash drive, you need to first stop using usb flash drive. This is to prevent new files to be written to the usb flash drive. Because new files could overwrite the space of deleted files which may make it not possible to recover deleted files.
You will also need a professional USB data recovery software to restore lost files from USB flash drive. Here's a step by step tutorial
How to recover files from usb drive
The USB drive data recovery software is easy to use. You can recover deleted photos, videos, songs, documents, and other files from USB flash drive. Even after USB flash drive reformat, you can restore your lost files.
The USB data recovery software can recover deleted files from Transcend, SanDisk, Kingston, PNY, verbatim usb drive, and other USB flash drive.
Restore permanently files from flash drive
How to retrieve back deleted files from USB flash drive
SD card data recovery