Supported File Types

Added support for file types. Starting to add functionality to calculate
how the amount to reduce an image, if necessary.