Resolves #6. Put in a check to makeThumbs to ensure that the file is an image
Relates to #6. Refactored the check out of the function to save processing