fixing lowercase filename issue