new print file api