This will find all occurences of a string in a text file and replace it with ...
Checks if file is an image using its filename extension
50 chars max.