Fixed Crash if Subdirectories Present, and Removed Hidden Files from being scanned