How to check if file has a ".resized" tag?