Consistent naming of identifiers.
Added better logging.
Filtering non-jpeg files out.
Added a mv function for moving files in the filesystem.
Ensure required dirs exist.
Fixed bug converting int to string.