Add flag to accept dropped files, and handling function to properly iterate.