intermediate filename fixing... (capital letter issues)