support case-insensitive filename