added the extension as first Parameter (JPG, jpg,...)