fs.exists( imageFilePath, function( exists ) {
                if ( exists ) {
                    mimeType = mime.getType( imageFilePath );

                    // Set the appropriate mime type