Added Directories to Sort Files.