Add indexes on filename and name