I don’t have a Windows machine handy right now, but maybe try:
C:\your\app> dir /s/b *profile2.jpg
C:\your\app> dir /s/b *profile2.png
Based on your other post it looks like you have both of the following:
images/profile2.png
images/profile2.jpg
Maybe try getting rid of one of them, or renaming it so that the part before the extension is unique.