Create a program to find the smallest file in the current folder.
File size may be measured in bytes or characters.
If multiple files have the same size, you can either choose one or display all of them.
You can assume there will be at least one file in the folder, and no files will have a size of 0.
Assume that all files in the folder can be loaded by the language you're using.
Assume that there are no folders in the current directory.
The program should not take any input from the user, unless:
- If your language doesn't have a "current folder", it may ask the user for a folder name/path.
The name of the smallest file should be displayed.
- Leading/trailing symbols are allowed, as long as it's clear which file has been chosen.
- (Printing a list of all the files is against the rules).