fixed FileNotFound in Files#index issue