Always recommend using addFileWithName instead of addFile because the latter produces files that robots cant detect the file type of