Remove deleted files from index and add default mapping on startup