How can I detect a new file being added to a specific directory?
What I am looking for is something like an event_listener for when a new file is created. I am not interested in using a loop that keeps searching the directory for new files because I need the name of the file when it is added to the directory.