Fixed case sensitive error for file extension