fixing lowercase file name bug