Export spritesheet via scripting doesnt generate spritesheet

Hey, everyone. I am trying to export my layer as a spritesheet. I run this script and it says spritesheet generated bottom right corner but when I check my folder there is no spritesheet. What is my mistake?

app.command.ExportSpriteSheet {
ui=false,
type=SpriteSheetType.ROWS,
columns=3,
textureFilename=“./file.png”,
dataFormat=SpriteSheetDataFormat.JSON_HASH,
filenameFormat=“file.png”,
layer=“hey YO”,

}

Hi @Dreamsoldier, probably the file.png file is being saved in the folder where you ran Aseprite (if you are running Aseprite from the shortcut, probably you should check the Program Files/Aseprite folder, or the folder where Aseprite is installed). If you are running Aseprite through the command line/terminal, the location will be where the current directory in the terminal from where you called aseprite.